From c81bd2ee7e3cf1f14c7e18a20754918d868fa473 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Mon, 19 Feb 2024 16:11:30 -0500 Subject: [PATCH] Fix things. --- cubids/cubids.py | 2 -- cubids/tests/test_bond.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cubids/cubids.py b/cubids/cubids.py index 8db2fc6b8..44f7a050f 100644 --- a/cubids/cubids.py +++ b/cubids/cubids.py @@ -1518,8 +1518,6 @@ def _get_param_groups( dfs.append(selected_metadata) - print(files[0]) - # Assign each file to a ParamGroup # Round parameter groups based on precision in config df = round_params(pd.DataFrame(dfs), grouping_config, datatype) diff --git a/cubids/tests/test_bond.py b/cubids/tests/test_bond.py index 867f22cd2..bf77c43ad 100644 --- a/cubids/tests/test_bond.py +++ b/cubids/tests/test_bond.py @@ -453,7 +453,7 @@ def test_tsv_merge_changes(tmp_path): renamed = True new_keys = applied["KeyGroup"].tolist() for row in range(len(orig)): - if orig.loc[row, "Modality"] != "fmap": + if orig.loc[row, "Datatype"] != "fmap": if ( str(orig.loc[row, "RenameKeyGroup"]) != "nan" and str(orig.loc[row, "RenameKeyGroup"]) not in new_keys