Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Rename your BD Influx workspaces to the same name found in the 'Name' tag of the workspace

License

Notifications You must be signed in to change notification settings

SangerCytometry/Influx-workspace-renamer

Repository files navigation

This page has been archived and further updates will be on Christopher’s GitHub page.

Workspace renamer for BD Influx running Sortware v1.2.0.142

Copyright (c) 2017 Genome Research Ltd.

Author : Christopher Hall, Wellcome Trust Sanger Institute.

http://www.sanger.ac.uk/science/groups/cytometry-core-facility

BD Sortware for the Influx names all its files with non-descriptive names, however it can read any name a file has. When backing up and cleaning our PC we run this script to rename the workspace.xml files to the descriptive name as seen in Sortware itself.

This script renames all XML files in its folder and subfolders to the 'name' tag of the file.

It is recommended taht you test the script first or use it on a backed up data.

INSTRUCTIONS

Video instructions: https://youtu.be/hUFP-CFwYOk

This script uses Python V3.

Place the .py file into the top folder of your saved workspaces, which can be found in the BD folder.

Run the script.

The script will then rename all the files from configuration1.xml to whatever is in the 'Name' tag in the xml file.

If you have 2 files with the same 'name' tag then the script will add a random number to prevent overwriting.

Windows filenames cannot contain any of the following charactors [\/*?:"<>|] If yours does then it will be replaced with a -

About

Rename your BD Influx workspaces to the same name found in the 'Name' tag of the workspace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages