question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect filename truncation

See original GitHub issue

Describe the bug

When I use the Next Sample button, the retrieved displayed volume name is incorrect. That’s because i believe parser incorrectly cuts at the volume name at “-” sign of the volume. Below is the log from the python interactor, displaying the correct volume name. In slicer, regardless of the volume, all retrieved volumes are displayed as 15.5_baseline in Slicer, which confuses the user.

Check if file exists/shared locally: /workspace/undeterminedSex_AAMN_N305-17-e15.5_baseline.nii.gz => False
http://127.0.0.1:8000/datastore/image?image=undeterminedSex_AAMN_N305-17-e15.5_baseline

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
piepercommented, Jun 15, 2022

it may make sense to add a small button (it could be just a “copy” icon) for copying the filename to the clipboard. Maybe it could be a generally useful feature.

It’s an interesting point - we could add subject hierarchy-style context menus to ctkComboBox instances. Currently these kinds of options are at the bottom of the combo box list, which works but isn’t perfect. We could also add an option to the subject hierarchy to copy filename/path.

I’m a researcher, not a developer

Thanks for your feedback @pwrightkcl - it’s important to figure out how to make the tools work well in real-world scenarios. The MONAIL Label project is still fairly new so there are many things to smooth out.

1reaction
lassoancommented, Jun 17, 2022

You don’t need to install the plugin manually, just install it as usual and modify the files locally as needed. If you reinstall MONAILabel today then you’ll get the elided combobox, so you can just make your suggested modification to test if everything works well. After you have a solution that you tested and works well for you then please submit a pull request. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Truncated file name cannot be renamed - Microsoft Community
I downloaded a music file from a paid internet source. The file name was truncated on arrival, presumably because it exceeded parameters or...
Read more >
IT13950: DESTINATION FILENAME GETS TRUNCATED ... - IBM
When this combined name gets too long, it will be truncated and the file is still send across with this incorrect filename. The...
Read more >
Why are my Document names truncated/shortened ...
As a workaround for this problem, move the Documents to another location just before uploading, like your Desktop or Downloads folder, then try ......
Read more >
If filename is too long, it is truncated, but the last character of ...
If filename is too long, it is truncated, but the last character of new filename is corrupted (before hash) Looks like some changes...
Read more >
why is Windows is truncating the name of a file I create using ...
In this file I am creating a long string with a date time object in it ... I actually realized why filename is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found