Skip to content

circos: add tar requirement#2714

Merged
mvdbeek merged 8 commits intogalaxyproject:masterfrom
bernt-matthias:topic/circos-container-fixes
Dec 2, 2019
Merged

circos: add tar requirement#2714
mvdbeek merged 8 commits intogalaxyproject:masterfrom
bernt-matthias:topic/circos-container-fixes

Conversation

@bernt-matthias
Copy link
Copy Markdown
Contributor

seems that another problem is that the generated configfiles are moved to working/... which seems not to work in the container tests.

mv: can't remove '/tmp/tmpzvg40cuz/job_working_directory/000/2/tmpnuxq8_9j': Read-only file system

We could try to cp or symlink? Or should this be fixes in another way

FOR CONTRIBUTOR:

  • - I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
  • - License permits unrestricted use (educational + commercial)
  • - This PR adds a new tool or tool collection
  • - This PR updates an existing tool or tool collection
  • - This PR does something else (explain below)

Comment thread tools/circos/circos.xml Outdated
@mvdbeek
Copy link
Copy Markdown
Member

mvdbeek commented Dec 1, 2019

We could try to cp or symlink? Or should this be fixes in another way

I think symlink should be fine for now, but we may want to place the config files into a separate, writable directory (on the Galaxy side).

@bernt-matthias bernt-matthias changed the title circos: don't use tar -z circos: add tar requirement Dec 1, 2019
Comment thread tools/circos/circos.xml Outdated
Copy link
Copy Markdown
Member

@hexylena hexylena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace the ln with cp and I'm fine with this.

Comment thread tools/circos/circos.xml Outdated
mv '$highlight_conf' circos/conf/highlight.conf &&
mv '$links_conf' circos/conf/links.conf &&
mv '$test_case_conf' circos/conf/galaxy_test_case.json &&
cp -s '$circos_conf' circos/conf/circos.conf &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the man page for -s reads make symbolic links instead of copying, isn't that explicitly what we're trying to avoid by switching to cp from ln?

Comment thread tools/circos/macros.xml Outdated
@mvdbeek mvdbeek merged commit f04fe62 into galaxyproject:master Dec 2, 2019
@bernt-matthias bernt-matthias deleted the topic/circos-container-fixes branch March 8, 2020 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants