From 10df745e1f36552ccf35bdd80e5936fd8a0f6c8f Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Thu, 7 Mar 2024 10:03:51 +0100 Subject: [PATCH] test --- README.md | 3 ++- src/ro_crate.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d6c5bb..6928a5f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [](https://www.gnu.org/licenses/gpl-3.0) -[]() +[]() ## Description @@ -167,6 +167,7 @@ This project is licensed under the [GNU Affero General Public License](https://w This work received support from the National Research Agency under the France 2030 program, with reference to ANR-22-PESN-0007. ___ +<br> <img align="left" src="https://gitlab.liris.cnrs.fr/sharefair/bioflow-insight/-/raw/main/img/logo.png" width="16%"> <img align="left" src="https://gitlab.liris.cnrs.fr/sharefair/bioflow-insight/-/raw/main/img/paris_saclay.png" width="16%"> diff --git a/src/ro_crate.py b/src/ro_crate.py index 6330b41..ab56612 100644 --- a/src/ro_crate.py +++ b/src/ro_crate.py @@ -155,5 +155,8 @@ class RO_Crate: self.fill_from_workflow() self.dico.pop("temp_directory") + print(f"{self.workflow.get_output_dir()}/ro-crate-metadata-{self.workflow.get_name()}.json") + with open(f"{self.workflow.get_output_dir()}/test.json", 'w') as output_file : + json.dump({'test':"test workflow"}, indent=2) with open(f"{self.workflow.get_output_dir()}/ro-crate-metadata-{self.workflow.get_name()}.json", 'w') as output_file : json.dump(self.dico, output_file, indent=2) \ No newline at end of file -- GitLab