Skip to content

Conversation

@fred3m
Copy link
Contributor

@fred3m fred3m commented Jul 21, 2022

No description provided.

@bechtol bechtol self-assigned this Jul 21, 2022
self.scalarActions.median = MedianAction(colKey=self.columnKey)
self.scalarActions.sigmaMad = SigmaMadAction(colKey=self.columnKey)
self.scalarActions.count = CountAction(colKey=self.columnKey)
self.scalarActions.median = MedianAction(veectorKey=self.vectorKey)
Copy link
Contributor

@bechtol bechtol Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice typo veectorKey. A few instances in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️


class MedianAction(ScalarAction):
colKey = Field[str]("Key of Vector to median")
veectorKey = Field[str]("Key of Vector to median")
Copy link
Contributor

@bechtol bechtol Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice typo veectorKey. A few instances in this file.

self.process.calculateActions.meanSky = MeanAction(colKey=f"{{band}}_{self.fluxType}")
self.process.calculateActions.stdevSky = StdevAction(colKey=f"{{band}}_{self.fluxType}")
self.process.calculateActions.sigmaMADSky = SigmaMadAction(colKey=f"{{band}}_{self.fluxType}")
self.process.calculateActions.medianSky = MedianAction(veectorKey=f"{{band}}_{self.fluxType}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

veectorKey several instances

self.scalarActions.median = MedianAction(colKey=self.columnKey) # type: ignore
self.scalarActions.sigmaMad = SigmaMadAction(colKey=self.columnKey) # type: ignore
self.scalarActions.count = CountAction(colKey=self.columnKey) # type: ignore
self.scalarActions.median = MedianAction(veectorKey=self.vectorKey) # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

veectorKey several instances

multiple = ConfigurableActionStructField[ScalarAction](doc="Multiple Actions")

def getInputSchema(self) -> KeyedDataSchema:
return (("a", Vector),)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

veectorKey several instances

Copy link
Contributor

@bechtol bechtol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have searches all the files for any instances of columnKey and colKey and do not find any instances.

There are multiple files that have veectorKey typo. Looks good once the typo is fixed.

@fred3m fred3m force-pushed the tickets/DM-35683 branch from 0251367 to fed5e15 Compare July 21, 2022 19:54
@fred3m fred3m merged commit 2fdfeca into main Jul 21, 2022
@fred3m fred3m deleted the tickets/DM-35683 branch July 21, 2022 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants