Skip to content

Conversation

@labkey-klum
Copy link
Contributor

Rationale

related issue

The signal data metadata file that a client uses is generated via a script that writes the full path of the file to upload. Their current workflow requires them to manually strip off the path portion of the file in order to use the tool. This change helps automate their workflow by stripping off anything other than the file name portion.

Additional changes:

  • Minor usability fixes
  • Recent changes now validate uploaded file field values, to work around this we won't upload any values for rows that don't have an accompanying file associated with it.
    • ResultData field is no longer required
    • Upgrade script to fix up any existing protocols
  • Update/add test automation for the new scenarios

@labkey-klum labkey-klum self-assigned this Aug 25, 2025
name: field.name,
type: 'string'
type: 'string',
convert: field.fieldKey === 'DataFile' ? fileNameFromPath : null
Copy link
Contributor

Choose a reason for hiding this comment

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

Use the DATA_FILE constant.

@labkey-klum labkey-klum merged commit 65d4743 into develop Aug 27, 2025
5 checks passed
@labkey-klum labkey-klum deleted the fb_issue_52421 branch August 27, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants