|
|
|
@ -3,10 +3,9 @@
@@ -3,10 +3,9 @@
|
|
|
|
|
Parsing the numerical output from Sensovations Sensospot image analysis. |
|
|
|
|
""" |
|
|
|
|
|
|
|
|
|
__version__ = "0.9.0" |
|
|
|
|
__version__ = "0.9.1" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sys |
|
|
|
|
from pathlib import Path |
|
|
|
|
|
|
|
|
|
import click |
|
|
|
@ -67,10 +66,10 @@ def _output(data, folder, outfile):
@@ -67,10 +66,10 @@ def _output(data, folder, outfile):
|
|
|
|
|
outfile: the name of the outfile, '-' will output to stdout |
|
|
|
|
""" |
|
|
|
|
if outfile.strip() == "-": |
|
|
|
|
data.to_csv(sys.stdout, sep="\t") |
|
|
|
|
click.echo(data.to_csv(None, sep="\t", index=False)) |
|
|
|
|
else: |
|
|
|
|
csv_file = Path(folder) / outfile |
|
|
|
|
data.to_csv(csv_file, sep="\t") |
|
|
|
|
data.to_csv(csv_file, sep="\t", index=False) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _parse_one_folder(source, outfile, quiet): |
|
|
|
|