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

Error in train.cytonorm #34

Open
mayanbriller opened this issue May 14, 2021 · 2 comments
Open

Error in train.cytonorm #34

mayanbriller opened this issue May 14, 2021 · 2 comments
Assignees
Labels
troubleshooting Troubleshooting an issue, that doesn't appear to be a fundamental error in the code.

Comments

@mayanbriller
Copy link

mayanbriller commented May 14, 2021

Hello!
While running the workflow for batch correction, I am getting the following:

Training alignment - file (batch) preparation
Training alignment - file (batch) and metacluster splitting
 -- running File '1'
Error in flowCore::write.FCS(file.ff[cellClusterIDs == cluster, ], file = file.path(getwd(),  : 
  Argument 'filename' has to be a character of length 1.
Calls: train.cytonorm
Execution halted

I noticed that no where in the workflow do we define fine.dir , so I defined it as

setwd("Output 2.4 - fine alignment")
fine.dir = getwd()

Could it be the reason for this error?
Thanks
Mayan

@tomashhurst
Copy link
Member

Hi @mayanbriller ,

Could I ask what OS you are using? The filename issue is a little weird. Does it run with the demo dataset?

Tom

@tomashhurst tomashhurst self-assigned this May 23, 2021
@tomashhurst tomashhurst added the troubleshooting Troubleshooting an issue, that doesn't appear to be a fundamental error in the code. label May 23, 2021
@mayanbriller
Copy link
Author

I am working on Google Cloud.
I was able to reproduce this error with the demo data.

I don't think it's related - but for the purposes of testing the workflow I deleted the parts of the code that produce graphs. Do you think it could be related?

Training alignment - file (batch) preparation
Training alignment - file (batch) and metacluster splitting
 -- running File '1'
Error in flowCore::write.FCS(file.ff[cellClusterIDs == cluster, ], file = file.path(getwd(),  : 
  Argument 'filename' has to be a character of length 1.
Calls: train.cytonorm
Execution halted
sh: 0: getcwd() failed: No such file or directory

Hi @mayanbriller ,

Could I ask what OS you are using? The filename issue is a little weird. Does it run with the demo dataset?

Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting Troubleshooting an issue, that doesn't appear to be a fundamental error in the code.
Projects
None yet
Development

No branches or pull requests

2 participants