Skip to content

Commit

Permalink
fix object names
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Aug 19, 2024
1 parent 56633a9 commit 4f52266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions micom/workflows/db_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ def check_db_medium(model_db, medium, threads=1):
args = [(r["id"], r["file"], medium.flux) for _, r in manifest.iterrows()]
results = workflow(_grow, args, threads)
results = manifest.merge(pd.DataFrame.from_records(results), on="id")
manifest["can_grow"] = manifest.growth_rate.notna() & (manifest.growth_rate > 1e-6)
results["can_grow"] = results.growth_rate.notna() & (results.growth_rate > 1e-6)

if compressed:
tdir.cleanup()

return manifest
return results


def complete_db_medium(
Expand Down

0 comments on commit 4f52266

Please sign in to comment.