-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardcoded filepaden #25
Comments
Dag Jelte,
Ik probeer dat nu te doen. Het betreft vooral files die buiten sastadev zelf vallen, maar goed.
Maar het is me nog niet helemaal duidelijk hoe en waar ik mijn waarde voor settings.DATAROOT moet specificeren.
Moet ik in de file conf.py de statement
settings = SastadevConfig()
vervangen door
settings = SastadevConfig(DATAROOT=” D:\Dropbox\jodijk\Utrecht\Projects\SASTADATA”)
of moet ik iets anders doen?
en moet ik dan
from conf import settings
opnemen in iedere module waarin ik naar settings.DATAROOT wil verwijzen?
Of iets anders?
(voor lokaal draaien van sastadev bij mij maakt dit allemaal niets uit want ik geef het volledige pad mee as parameter, en sastadev weet dan zelf naar welke folders hij output moet schrijven; en voor scripts in sasta-scripts heb ik ergens hard staan (in een file dataconfig.py) wat het pad naar mijn data is.)
Jan
From: Jelte van Boheemen ***@***.***>
Sent: woensdag 13 september 2023 13:38
To: UUDigitalHumanitieslab/sastadev ***@***.***>
Cc: Odijk, J.E.J.M. (Jan) ***@***.***>; Mention ***@***.***>
Subject: [UUDigitalHumanitieslab/sastadev] Hardcoded filepaden (Issue #25)
CAUTION: This email originated from outside of Utrecht University. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@JanOdijk<https://github.com/JanOdijk> Er zijn nog een aantal paden in de sourcecode opgenomen die verwijzen naar jouw dropbox. Met zoeken op jodijk krijg je ze te zien.
Kun je deze code wijzigen om bv de settings.DATAROOT als uitgangspunt te nemen?
—
Reply to this email directly, view it on GitHub<#25>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AF3FJGXAKTE6RUMF3X3ZNL3X2GLLBANCNFSM6AAAAAA4WI7OLI>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@JanOdijk Er zijn nog een aantal paden in de sourcecode opgenomen die verwijzen naar jouw dropbox. Met zoeken op
jodijk
krijg je ze te zien.Kun je deze code wijzigen om bv de
settings.DATAROOT
als uitgangspunt te nemen?The text was updated successfully, but these errors were encountered: