Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Feature/publishing updates #289

Merged
merged 4 commits into from
Jan 20, 2021
Merged

Feature/publishing updates #289

merged 4 commits into from
Jan 20, 2021

Conversation

cflerin
Copy link
Member

@cflerin cflerin commented Jan 19, 2021

Updates to the publishing system:

  • Add option to change the copy mode for the PUBLISH workflow. Allows publishing across filesystems (when set to copy). Default value is to use hardlinks. ([BUG] Failed to publish file across filesystems #265)
  • Cleanup of publish workflow:
    • Change the SC__PUBLISH process to use hard links instead of copying internally. This partially addresses [BUG] Publish processes are not cached when resuming #258 (by avoiding making additional copies of the published file in the work directory upon each resume), but the process still does not cache.
    • The SC__PUBLISH_PROXY step is no longer needed and is removed. No longer need two processes to publish one file.
  • Add parameter exploration CI test (tests a special case of the publish system).

- Options are now 'copy', 'link', 'symlink', etc. and are set in params.utils.publish.mode
- Default value is 'link'
- Fixes #265
- Avoid duplicating the input file, this is replaced with a hard link
- Input/output file collisions are avoided by renaming the input file
before creating the link
- SC__PUBLISH_PROXY is removed from the workflow. The PUBLISH workflow
now only needs a single process (instead of two) to publish a file
- Uses single_sample + two clustering parameters
Copy link
Member

@KrisDavie KrisDavie left a comment

Choose a reason for hiding this comment

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

LGTM

@cflerin cflerin merged commit a5f281f into develop Jan 20, 2021
@cflerin cflerin deleted the feature/publishing-updates branch January 20, 2021 13:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants