From c12e05270df691be589e81ce85e9d73f9729113c Mon Sep 17 00:00:00 2001 From: Eleni Mathioulaki <emathioulaki@athenarc.gr> Date: Fri, 14 Mar 2025 13:58:36 +0100 Subject: [PATCH] fix cobrawap test --- packages/py-cobrawap/package.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/py-cobrawap/package.py b/packages/py-cobrawap/package.py index 81b3e736..f1f0b00d 100644 --- a/packages/py-cobrawap/package.py +++ b/packages/py-cobrawap/package.py @@ -48,11 +48,11 @@ class PyCobrawap(PythonPackage): depends_on("py-seaborn", type=("build", "run"), when="@0.1:") depends_on("py-networkx", type=("build", "run"), when="@0.1:") -@run_after("install") -@on_package_attributes(run_tests=True) -def init_test(self): - # run test here - cobrawap = which("cobrawap") - cobrawap("init", "--output_path", "/tmp/output_path", "--config_path", "/tmp/config_path") - cobrawap("settings") - # test_dataset_url = "https://object.cscs.ch/v1/AUTH_63ea6845b1d34ad7a43c8158d9572867/hbp-d000036_m-SWA-WF-wide-regions-v2_pub/m-SWA-WF-wide-regions/GCaMP6f_Ketamine%20I/t3.rar" + @run_after("install") + @on_package_attributes(run_tests=True) + def init_test(self): + # run test here + cobrawap = Executable(self.prefix.bin + "/cobrawap") + cobrawap("init", "--output_path", "/tmp/output_path", "--config_path", "/tmp/config_path") + cobrawap("settings") + # test_dataset_url = "https://object.cscs.ch/v1/AUTH_63ea6845b1d34ad7a43c8158d9572867/hbp-d000036_m-SWA-WF-wide-regions-v2_pub/m-SWA-WF-wide-regions/GCaMP6f_Ketamine%20I/t3.rar" -- GitLab