Skip to content

Commit

Permalink
Copy metadata to galaxy.json in archive_to_directory converter
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Oct 11, 2024
1 parent ee24ca3 commit 28ca375
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/galaxy/datatypes/converters/archive_to_directory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<requirement type="package" version="23.2.1">galaxy-util</requirement>
</requirements>
<command><![CDATA[
cp '$metadata_json' galaxy.json &&
mkdir '$output1.files_path' &&
cd '$output1.files_path' &&
python -c "from galaxy.util.compression_utils import CompressedFile; CompressedFile('$input1').extract('.')"
Expand All @@ -22,8 +23,8 @@
<option value="directory">directory</option>
</param>
</inputs>
<outputs provided_metadata_file="metadata_json">
<data format="directory" name="output1"/>
<outputs>
<data format="auto" name="output1"/>
</outputs>
<tests>
<test>
Expand Down

0 comments on commit 28ca375

Please sign in to comment.