McDermott-Group / servers

Public repo that stores LabRAD servers and other non-measurement related code
0 stars 2 forks source link

[DataChest, Grapher] Make d.cd() handle string path #35

Closed roboguy222 closed 7 years ago

amopremcak commented 7 years ago

As in d.cd("nextFolder\nextNextFolder\nextNextNextFolder") so that a folder with path pwd + "nextFolder\nextNextFolder\nextNextNextFolder" is created? @roboguy222

roboguy222 commented 7 years ago

Same as using an array, just string for instead

"nextFolder\nextNextFolder\nextNextNextFolder" = ["nextFolder","nextNextFolder","nextNextNextFolder"]

amopremcak commented 7 years ago

Word

amopremcak commented 7 years ago

This is now implemented. Both forward and backward slashes are accepted, though using both styles in the same string is prohibited. The functionality is implemented as you suggested above. The document needs to be updated to reflect these changes but I am closing this as a document related issue already exists.