Skip to content
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

Importing .DS_store #74

Open
amaze2 opened this issue Mar 5, 2020 · 4 comments
Open

Importing .DS_store #74

amaze2 opened this issue Mar 5, 2020 · 4 comments
Labels

Comments

@amaze2
Copy link

amaze2 commented Mar 5, 2020

Dear Scott,
The TMT (version 1.0) on my Mac (OS Catalina 10.15.3) is importing the .DS_Store file (which is creating some odd topics! See #3 below [edit: file attached — issue-74-mallet-output.txt
)] Can you assist?
Thank you,
Adam

@senderle
Copy link
Owner

senderle commented Mar 6, 2020

Yes, this is a very irritating problem. My current understanding is that MALLET, by default, imports everything in the input folder. Modifying that behavior directly requires me to re-design parts of the TMT to work directly with MALLET's internal API, which I haven't had time to do.

I have considered having the TMT actively delete the .DS_Store file before calling MALLET, but that seems a little aggressive. The simple fix is just to remove the file before running the tool, but of course that's a hassle.

I will give some more thought to this problem though — the risks of deleting the file automatically seem low, but I am uncertain, hence my hesitation.

@senderle
Copy link
Owner

senderle commented Mar 6, 2020

PS: this is closely related to #69.

@amaze2
Copy link
Author

amaze2 commented Mar 7, 2020 via email

@senderle senderle added the bug label Jul 22, 2020
@senderle
Copy link
Owner

@amaze2 so sorry — I missed this last until now. I'm realizing that the easiest way to remove it is using the terminal — which kind of defeats the point of having a GUI. I have to think about this a bit more. I might need to build in an option for this that removes the .DS_store file from the input folder if it exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants