[go: nahoru, domu]

Skip to content

Commit

Permalink
Remove todo.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 496563372
  • Loading branch information
danielecook authored and Copybara-Service committed Dec 20, 2022
1 parent 37fb6b2 commit 0023941
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deepconsensus/preprocess/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
--truth_split=truth_split.tsv \
--output=examples-@split.tfrecord.gz \
--cpus=4
"""

import collections
Expand Down Expand Up @@ -76,7 +75,7 @@
'The output filename must end in .tfrecord.gz'))
flags.DEFINE_string('truth_to_ccs', None, 'Input truth bam aligned to ccs.')
flags.DEFINE_string('truth_bed', None, 'Input truth bedfile.')
# TODO TODO
# TODO
flags.DEFINE_string('truth_split', None,
'Input file defining train/eval/test splits.')
flags.DEFINE_integer(
Expand Down Expand Up @@ -122,6 +121,7 @@ def wrap(*args, **kwargs):
except: # pylint: disable=bare-except
logging.exception('Error in function %s.', f.__name__)
raise Exception('Error in worker process')

return wrap


Expand Down Expand Up @@ -311,6 +311,7 @@ def main(unused_argv) -> None:
json_summary = json.dumps(summary, indent=True)
summary_file.write(json_summary)


if __name__ == '__main__':
logging.use_python_logging()
app.run(main)

0 comments on commit 0023941

Please sign in to comment.