@@ -2132,36 +2132,3 @@ def test_multi_results_summarize(
2132
2132
psm .summarize ()
2133
2133
data = YAMLConfigManager (filepath = os .path .join (temp_dir , "aggregate_results.yaml" ))
2134
2134
assert r_id in data [psm .pipeline_name ][psm .pipeline_type ].keys ()
2135
-
2136
- # @pytest.mark.parametrize("backend", ["file"])
2137
- # def test_temp(
2138
- # self,
2139
- # config_file_path,
2140
- # results_file_path,
2141
- # recursive_schema_file_path,
2142
- # backend,
2143
- # range_values,
2144
- # ):
2145
- # # This is for temporary PEATAC testing for determining summarize function
2146
- # with TemporaryDirectory() as d, ContextManagerDBTesting(DB_URL):
2147
- # temp_dir = d
2148
- # # single_results_file_path = "{record_identifier}/results.yaml"
2149
- # # results_file_path = os.path.join(temp_dir, single_results_file_path)
2150
- # # args = dict(schema_path=recursive_schema_file_path, database_only=False)
2151
- # # n = 3
2152
- # config_file_path = "/home/drc/pepatac_tutorial/processed/looper_pipestat_config.yaml"
2153
- #
2154
- # # for i in range_values[:n]:
2155
- # # r_id = i[0]
2156
- # # val = i[1]
2157
- # # backend_data = {"record_identifier": r_id, "results_file_path": results_file_path}
2158
- # # args.update(backend_data)
2159
- # # psm = SamplePipestatManager(**args)
2160
- # # psm.report(record_identifier=r_id, values=val, force_overwrite=True)
2161
- # psm = PipestatManager(config_file=config_file_path)
2162
- # reportlink = psm.summarize()
2163
- # print(reportlink)
2164
- # statstsv = psm.table()
2165
- # print(statstsv)
2166
- # # data = YAMLConfigManager(filepath=os.path.join(temp_dir, "aggregate_results.yaml"))
2167
- # # assert r_id in data[psm.pipeline_name][psm.pipeline_type].keys()
0 commit comments