Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gorsyan committed Dec 20, 2023
2 parents e7226ba + cd1c3a6 commit 11ec4ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/sequenceserver/makeblastdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ def formatted_fastas
@formatted_fastas
end

private

def any_to_format?
fastas_to_format.any?
end

private

def any_to_reformat?
fastas_to_reformat.any?
end
Expand Down
6 changes: 3 additions & 3 deletions public/js/dnd.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react';

/**
/**
* Drag n drop widget.
*/
export class DnD extends Component {
Expand Down Expand Up @@ -74,7 +74,7 @@ export class DnD extends Component {
}

var file = files[0];
if (file.size > 10 * 1048576) {
if (file.size > 250 * 1048576) {
dndError('dnd-large-file');
return;
}
Expand Down Expand Up @@ -141,7 +141,7 @@ export class DnD extends Component {
style={{ display: 'none' }}>
<div
className="col-md-6 col-md-offset-3">
Too big a file. Can only do less than 10 MB. &gt;_&lt;
Too big a file. Can only do less than 250 MB. &gt;_&lt;
</div>
</div>

Expand Down
Loading

0 comments on commit 11ec4ed

Please # to comment.