Skip to content

Updated docker related links and added link to tutorial in README#56

Merged
thejmazz merged 6 commits intobionode:masterfrom
tiagofilipe12:master
Jun 22, 2017
Merged

Updated docker related links and added link to tutorial in README#56
thejmazz merged 6 commits intobionode:masterfrom
tiagofilipe12:master

Conversation

@tiagofilipe12
Copy link
Member

Performed the updates described in the title.

@codecov-io
Copy link

codecov-io commented Jun 13, 2017

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   80.64%   80.64%           
=======================================
  Files          36       36           
  Lines         806      806           
  Branches       99       99           
=======================================
  Hits          650      650           
  Misses        156      156

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9bdd40...b9cfce8. Read the comment docs.

@tiagofilipe12
Copy link
Member Author

Added tutorial and blog entry about work-flow managers to main README.md. You can now check it and see if everything is ok and if so merge it. However, note that issue 49 should also address the creation of tasks with js functions and streams.

@tiagofilipe12
Copy link
Member Author

Added a way to create a manifest file that allow to make a correspondence between folders created within data and the task names.

// First handles the possibility of input, output and params being an
// object rather than a string (e.g. when multiple params are passed to
// the task).
let string_output = JSON.stringify(originalTask.output)
Copy link
Member

Choose a reason for hiding this comment

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

use camelCase

let string_params = JSON.stringify(originalTask.params)
// Then creates the string to be written to the log file
let manifest_log =
`{ folder_name: "${originalTask.dir}",
Copy link
Member

Choose a reason for hiding this comment

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

this should just be an object that you stringify

output: ${string_output},
params: ${string_params} }\n`
// Writes to the file
fs.appendFile('summary_log.txt', manifest_log, function (err) {
Copy link
Member

Choose a reason for hiding this comment

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

maybe logfile should be ndjson (one json object per line)

@tiagofilipe12
Copy link
Member Author

I have separated the tutorial updates from the summary log file commits, in order to simplify the revision. So, if you feel this is ok, please feel free to merge.

@thejmazz thejmazz merged commit 7fba1c8 into bionode:master Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants