Skip to content

Commit

Permalink
Update _sourcetracker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andy6a authored Jan 10, 2024
1 parent 4e74abe commit 1495fd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sourcetracker/_sourcetracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,11 @@ def cumulative_proportions(all_envcounts, sink_ids, source_ids):
are met. It is the user's responsibility to check these if using this
function independently.
'''

np.save('envcounts',all_envcounts)
np.save('sink_ids',sink_ids)
np.save('source_ids',source_ids)

num_sinks = len(sink_ids)
num_sources = len(source_ids) + 1

Expand Down

0 comments on commit 1495fd3

Please sign in to comment.