Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace print_job_status #37

Merged
merged 5 commits into from Jan 22, 2019
Merged

Conversation

@pmarchand1
Copy link
Collaborator

@pmarchand1 pmarchand1 commented Jan 14, 2019

Addresses #18 (and to a lesser extent #9)

Replaces print_job_status (now deprecated) with get_job_status which returns a list of three elements:

  • completed (logical): whether the job completed/stopped,
  • queue (data frame): the table from squeue (0 rows if completed),
  • log (character vector): the contents of the output file for each node.

Also added a custom print function so that when output directly to console, it shows either the queue table or a message saying all nodes completed, and then outputs the last portion (up to 60 chars.) of the log from each node.

@itcarroll itcarroll merged commit 1f02428 into SESYNC-ci:master Jan 22, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.