Skip to content

qiita.slurm_resource_allocations insertion #3415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debugging changes to test
  • Loading branch information
Gossty committed May 10, 2024
commit 42c19742383fa1562bddeaff2b6c58e551a7ea85
6 changes: 6 additions & 0 deletions qiita_db/test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,12 @@ def test_minimize_const(self):
failures = failures_df.shape[0]
self.assertEqual(bm, qdb.util.mem_model4, msg="""Best memory model
doesn't match""")
print("dataframe size: ", len(self.df))
print("mem_model1: ", qdb.util.mem_model1)
print("mem_model2: ", qdb.util.mem_model2)
print("mem_model3: ", qdb.util.mem_model3)
print("mem_model4: ", qdb.util.mem_model4)
print(bm, k, a, b)
self.assertEqual(failures, 0, "Number of failures must be 0")

# check that the algorithm chooses correct model for ElapsedRaw and
Expand Down