Constructor
new file_tree_dir(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Id of the file to be parsed |
- Source:
Members
SURF_files
array of surface files with .SURF extension in the uploads folder
Properties:
Name | Type | Description |
---|---|---|
ID |
Array.<string> | with .SURF |
- Source:
files
Properties:
Name | Type | Description |
---|---|---|
files |
string |
- Source:
hbond_files
array of hbond files with .txt extension in the uploads folder
Properties:
Name | Type | Description |
---|---|---|
ID |
Array.<string> | with .txt |
- Source:
id
Properties:
Name | Type | Description |
---|---|---|
ID |
string |
- Source:
other
all other file types
Properties:
Name | Type | Description |
---|---|---|
ID |
Array.<string> |
- Source:
pdb_files
array of PDB files with .pdb extension in the uploads folder
Properties:
Name | Type | Description |
---|---|---|
ID |
Array.<string> | with .pdb |
- Source:
Methods
(async) files_in_dir() → {Object}
Async fetch of files in uploads directory to be parsed
- Source:
Returns:
files
- Type
- Object
groupFileFormats() → {Array.<string>|Array.<string>|Array.<string>|Array.<string>}
groupFileFormats function groups files by file format eg. pdb, SURF, etc. and returns each group as a separate list
- Source:
Returns:
-
SURF_files
- Type
- Array.<string>
-
pdb_files
- Type
- Array.<string>
-
hbond_files
- Type
- Array.<string>
-
other
- Type
- Array.<string>