Skip to content

Commit

Permalink
[Hotfix] drop year, month, day after reading
Browse files Browse the repository at this point in the history
  • Loading branch information
FusRoman committed Oct 6, 2023
1 parent 0f9bb2d commit b0db9aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fink_mm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = "0.16.4"
__version__ = "0.16.5"
__distribution_schema_version__ = "1.3"
__observatory_schema_version__ = "1.1"
5 changes: 5 additions & 0 deletions fink_mm/ztf_join_gcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ def ztf_pre_join(
"cutoutScience",
"cutoutTemplate",
"cutoutDifference",
"year",
"month",
"day"
)

ztf_dataframe = ztf_grb_filter(
Expand All @@ -378,6 +381,8 @@ def gcn_pre_join(
NSIDE: int,
test: bool,
) -> DataFrame:
gcn_dataframe = gcn_dataframe.drop("year").drop("month").drop("day")

# compute pixels for gcn alerts
gcn_dataframe = gcn_dataframe.withColumn(
"hpix_circle",
Expand Down

0 comments on commit b0db9aa

Please sign in to comment.