Skip to content

Conversation

klaricch
Copy link
Contributor

@klaricch klaricch commented Mar 4, 2024

No description provided.

Copy link
Contributor

@ch-kr ch-kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one suggestion and a few nitpicks

@klaricch klaricch requested a review from ch-kr March 4, 2024 16:53
Copy link
Contributor

@ch-kr ch-kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor suggestion + question about length

@klaricch klaricch requested a review from ch-kr March 4, 2024 19:47
Copy link
Contributor

@ch-kr ch-kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor note about overwrite but LGTM!

)

gencode_cds = gencode_cds.checkpoint(
new_temp_file(prefix="gencode_cds", extension="ht")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor comment that I missed before -- should you specify overwrite=True here? (or add an overwrite argument to the function to control _read_if_exists vs overwrite)

Copy link
Contributor Author

@klaricch klaricch Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it doesn't matter what overwrite is set to if new_temp_file is used (distinct name each time)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooh, really? that's really cool! but then I guess you lose the functionality of reading from existing files for slower pipelines

@klaricch klaricch merged commit 7e4f8eb into main Mar 4, 2024
@klaricch klaricch deleted the kl/length_and_chr branch March 4, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants