Skip to content

Commit

Permalink
Change date column check to year in createMicroreact function
Browse files Browse the repository at this point in the history
  • Loading branch information
absternator committed Jan 7, 2025
1 parent 66ba468 commit b735abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def createMicroreact(prefix, microreact_files, api_key=None, info_csv=None):
info_df = pd.read_csv(info_csv)
if 'latitude' not in info_df.columns or 'longitude' not in info_df.columns:
json_pickle["maps"] = {}
if 'date' not in info_df.columns:
if 'year' not in info_df.columns:
json_pickle["timelines"] = {}
# Read data in
with open(microreact_files[0]) as cluster_file:
Expand Down

0 comments on commit b735abd

Please sign in to comment.