Skip to content

Update standard types docs #6329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2025
Merged

Update standard types docs #6329

merged 2 commits into from
Aug 6, 2025

Conversation

bentsherman
Copy link
Member

Spun-off from #6278 to include just the doc updates and other maintenance work unrelated to the PR

@christopher-hakkaart I addressed the comments you left in that PR here where applicable. Some changes were discarded because they changed the meaning or just didn't fit. Sorry for the mix up. I decided to split up these changes so that they don't get blocked by the other PR

@bentsherman bentsherman requested a review from a team as a code owner August 6, 2025 00:19
@bentsherman bentsherman requested a review from a team as a code owner August 6, 2025 00:19
Copy link

netlify bot commented Aug 6, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 3b31199
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/689386025e4f3c0008d0baf3
😎 Deploy Preview https://deploy-preview-6329--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@christopher-hakkaart
Copy link
Collaborator

@christopher-hakkaart I addressed the comments you left in that PR here where applicable. Some changes were discarded because they changed the meaning or just didn't fit. Sorry for the mix up. I decided to split up these changes so that they don't get blocked by the other PR

Makes sense. I was a little unsure about tuple vs tuples in a couple of places, but ended up agreeing with what you wrote. Looks good to me.

@bentsherman bentsherman merged commit a76b760 into master Aug 6, 2025
23 checks passed
@bentsherman bentsherman deleted the docs-update-types branch August 6, 2025 17:15
Comment on lines +96 to +108
`toDays() -> Integer`
: Get the duration value in days (rounded down).

`toHours() -> long`
`toHours() -> Integer`
: Get the duration value in hours (rounded down).

`toMillis() -> long`
`toMillis() -> Integer`
: Get the duration value in milliseconds.

`toMinutes() -> long`
`toMinutes() -> Integer`
: Get the duration value in minutes (rounded down).

`toSeconds() -> long`
`toSeconds() -> Integer`
Copy link
Member

Choose a reason for hiding this comment

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

should not this be Long to match the interface

long toBytes();
@Description("""
Get the memory value in gigabytes (rounded down).
""")
long toGiga();
@Description("""
Get the memory value in kilobytes (rounded down).
""")
long toKilo();
@Description("""
Get the memory value in megabytes (rounded down).
""")
long toMega();
@Description("""
Get the memory value in terms of a given unit (rounded down).
""")
long toUnit(String unit);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants