Skip to content

Getting started guide - difficulty making the histogram #296

Answered by StevenMaude
Miriam-S-git asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Miriam-S-git 👋

Thanks for your question!

The describe part in your file is at the same level as actions. In fact, the describe part goes under actions, because describe is an action, e.g.

version: "3.0"

expectations:
  population_size: 1000

actions:
  generate_study_population:
    run: cohortextractor:latest generate_cohort --study-definition study_definition
    outputs:
      highly_sensitive:
        cohort: output/input.csv

  describe:
    run: python:latest python analysis/report.py
    needs: [generate_study_population]
    outputs:
      moderately_sensitive:
        cohort: output/descriptive.png

(I had to look for a minute here. The problem here is actually a little bit s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Miriam-S-git
Comment options

Miriam-S-git Jun 27, 2021
Collaborator Author

Answer selected by StevenMaude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
faq-candidate Things we should consider adding to an FAQ in the docs
2 participants