uidToUnderscores

Return to directory of Todd's CASA extensions

Converts uids from native name to underscore-delimited name (if necessary), preserving any initial path if it has one. Will not corrupt a pathname that was previously converted.

Usage:

au.uidToUnderscores(asdm)

Example:

CASA <8>: au.uidToUnderscores('Remy/uid://A002/Xa48b1f/X1b0')
  Out[8]: 'Remy/uid___A002_Xa48b1f_X1b0'

-- ToddHunter - 2016-02-07
Topic revision: r2 - 2016-02-07, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback