mirror of
https://github.com/MillironX/nfdocs-parser.git
synced 2024-11-22 08:59:55 +00:00
Add line extraction to parser
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
29d17c9581
commit
fc4c536ab6
1 changed files with 3 additions and 1 deletions
|
@ -3,4 +3,6 @@ import sys
|
||||||
|
|
||||||
nextflow_path = sys.argv[1]
|
nextflow_path = sys.argv[1]
|
||||||
with open(nextflow_path) as nextflow_file:
|
with open(nextflow_path) as nextflow_file:
|
||||||
print(nextflow_file)
|
nextflow_lines = nextflow_file.readlines()
|
||||||
|
for i in range(1, 10):
|
||||||
|
print(nextflow_lines[i])
|
||||||
|
|
Loading…
Reference in a new issue