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

comments added for windows fix pull request #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function saveToSessionFile() {
}

// Multer upload storage
//Upload funtion here
var uploadFunction = function(_type) {
var storage = multer.diskStorage({
destination: function(req, file, cb) {
Expand Down Expand Up @@ -156,6 +157,9 @@ app.get("/get_metadata_files", function (req, res) {
});
res.status(200).send(metadataFiles);
});

//Upload function seems to end here

/** PYTHON PROCESS AND HELPER FUNCTIONS FOR RUNNING SUBCORPORA TOOL **/

/**
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pandas
nltk
unidecode
bs4
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ class SelectCollections extends React.Component {
isButtonDisabled: true,
redirect: false,
};

this.handleChange = this.handleChange.bind(this);
this.handleChangeMultiple = this.handleChangeMultiple.bind(this);
this.handleButtonClick = this.handleButtonClick.bind(this);
this.updateSelection = this.updateSelection.bind(this);
this.handleButtonClick = this.handleButtonClick.bind(this);
this.renderRedirect = this.renderRedirect.bind(this);
}

Expand Down