Skip to content

adds mat file containing string to BpodUserPath in Bpod home directory#8

Merged
tsgouvea merged 2 commits intomasterfrom
CustomBpodUserPath
Oct 24, 2016
Merged

adds mat file containing string to BpodUserPath in Bpod home directory#8
tsgouvea merged 2 commits intomasterfrom
CustomBpodUserPath

Conversation

@torbenott
Copy link
Copy Markdown

@torbenott torbenott commented Sep 6, 2016

Enables custom user folder for Data, Protocol, Settings Files, and Calibration Files. Related to #2 without button (seems to much right now) and #6 @fitzsturgill .

  • in default mode, starting Bpod creates a mat (now txt, see below) file in Bpod home directory containing a single string storing the default user location (HOME/BpodUser)
  • this txt file can be edited to an arbitrary directory which will be used at next Bpod startup
  • Warning: Calibration Files and Settings Files will be copied from the Bpod home directory to new location ("resets" settings/calibrations). Old locations will not be deleted. Data and Protocols have to be copied manually, if wished (as before).
  • only tested in Win10

Potential issue: There is a new custom file in Bpod directory. But I think there has to be one, could also be contained in a settings file, but then this setting file should remain in Bpod home directory. The current proposal is a simple fix which can be easily changed in the future if sanworks/Bpod changes the way it stores files and is keeping the bpod changes to a minium.

Torben Ott added 2 commits September 6, 2016 19:38
@torbenott
Copy link
Copy Markdown
Author

torbenott commented Sep 7, 2016

following @tsgouvea suggestion, I changed mat file to txt file, which is more easily editable #0b27cf3

@tsgouvea
Copy link
Copy Markdown

As there seem to be no sticking points, I'll merge it.

@tsgouvea tsgouvea merged commit 076d02a into master Oct 24, 2016
@tsgouvea tsgouvea deleted the CustomBpodUserPath branch October 24, 2016 20:42
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.

2 participants