Add file reading to parser

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-01-05 13:17:47 -06:00
parent 4c0f7869ac
commit 29d17c9581
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -1,5 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
nextflow_file = sys.argv[1] nextflow_path = sys.argv[1]
print(nextflow_file) with open(nextflow_path) as nextflow_file:
print(nextflow_file)