Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
11109850
Commit
11109850
authored
10 years ago
by
barillac
Browse files
Options
Downloads
Patches
Plain Diff
PeterLab storage profile updated
SVN: 31905
parent
f8973b05
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/PeterLabProfile.js
+160
-10
160 additions, 10 deletions
...1/as/webapps/newbrowser/html/js/config/PeterLabProfile.js
with
160 additions
and
10 deletions
plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/PeterLabProfile.js
+
160
−
10
View file @
11109850
...
...
@@ -9,6 +9,8 @@ $.extend(PeterLabProfile.prototype, DefaultProfile.prototype, {
//Use this with all known types to create groups, if a type is not specified by default will be added to the OTHERS group.
this
.
inventorySpaces
=
[
"
INVENTORY
"
];
this
.
isShowUnavailablePreviewOnSampleTable
=
true
;
this
.
typeGroups
=
{
"
MATERIALS
"
:
{
"
TYPE
"
:
"
MATERIALS
"
,
...
...
@@ -32,8 +34,36 @@ $.extend(PeterLabProfile.prototype, DefaultProfile.prototype, {
}
};
this
.
inventorySpaces
=
[
"
INVENTORY
"
];
this
.
getSpaceForSampleType
=
function
(
type
)
{
if
(
type
===
"
ANTIBODY
"
)
{
return
"
INVENTORY
"
;
}
else
if
(
type
===
"
PLASMID
"
)
{
return
"
INVENTORY
"
;
}
else
if
(
type
===
"
INHIBITOR
"
)
{
return
"
INVENTORY
"
;
}
else
if
(
type
===
"
CELL_LINE
"
)
{
return
"
INVENTORY
"
;
}
else
{
return
null
;
}
}
this
.
getExperimentIdentifierForSample
=
function
(
type
,
code
,
properties
)
{
if
(
type
===
"
ANTIBODY
"
)
{
return
"
/INVENTORY/SAMPLES/ANTIBODIES
"
;
}
else
if
(
type
===
"
PLASMID
"
)
{
return
"
/INVENTORY/SAMPLES/PLASMIDS
"
;
}
else
if
(
type
===
"
INHIBITOR
"
)
{
return
"
/INVENTORY/SAMPLES/INHIBITORS
"
;
}
else
if
(
type
===
"
CELL_LINE
"
)
{
return
"
/INVENTORY/SAMPLES/CELL_LINES
"
;
}
else
{
return
null
;
}
}
this
.
storagesConfiguration
=
{
"
isEnabled
"
:
true
,
...
...
@@ -53,17 +83,137 @@ $.extend(PeterLabProfile.prototype, DefaultProfile.prototype, {
* Storages map, can hold configurations for several storages.
*/
"
STORAGE_CONFIGS
"
:
{
"
H20.1_KREK
-1
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
5
,
//Number of rows
"
G9_FRIDGE
-1
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
H20.2_KREK
-2
"
:
{
//Freezer name given by the NAME_PROPERTY
"
G9_FRIDGE
-2
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
5
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
BENCH
"
:
{
//Freezer name given by the NAME_PROPERTY
"
G9_FREEZER-A
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G9_FREEZER-B
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G9_FREEZER-C
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
3
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-D
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
7
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-E
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
14
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-F
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
3
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-G
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-H
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FREEZER-I
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
9
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FRIDGE-3
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
5
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FRIDGE-4
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FRIDGE-5
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
3
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FRIDGE-6
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G10_FRIDGE-7
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G11_FRIDGE-8
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FREEZER-J
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FREEZER-K
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
8
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FREEZER-L
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FREEZER-M
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FRIDGE-9
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G14_FRIDGE-10
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G17_FRIDGE-11
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
6
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G17_FRIDGE-12
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
3
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
G17_FREEZER-N
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
4
,
//Number of rows
"
COLUMN_NUM
"
:
4
,
//Number of columns
"
BOX_NUM
"
:
9999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
},
"
USER_BENCH_FRANK
"
:
{
//Freezer name given by the NAME_PROPERTY
"
ROW_NUM
"
:
1
,
//Number of rows
"
COLUMN_NUM
"
:
1
,
//Number of columns
"
BOX_NUM
"
:
99999
//Boxes on each rack, used for validation, to avoid validation increase the number to 9999 for example
...
...
@@ -77,21 +227,21 @@ $.extend(PeterLabProfile.prototype, DefaultProfile.prototype, {
"
SAMPLE_PARENTS_HINT
"
:
[
{
"
LABEL
"
:
"
Protocol
"
,
"
TYPE
"
:
"
PROTOCOL
"
,
"
TYPE
"
:
"
PROTOCOL
S
"
,
"
MIN_COUNT
"
:
1
,
"
ANNOTATION_PROPERTIES
"
:
[]
}
,
{
"
LABEL
"
:
"
Plasmid
"
,
"
TYPE
"
:
"
PLASMID
"
,
"
TYPE
"
:
"
PLASMID
S
"
,
"
MIN_COUNT
"
:
1
,
"
ANNOTATION_PROPERTIES
"
:
[]
}
,
{
"
LABEL
"
:
"
Inhibitor
"
,
"
TYPE
"
:
"
INHIBITOR
"
,
"
TYPE
"
:
"
INHIBITOR
S
"
,
"
MIN_COUNT
"
:
1
,
"
ANNOTATION_PROPERTIES
"
:
[]
}
...
...
@@ -107,10 +257,10 @@ $.extend(PeterLabProfile.prototype, DefaultProfile.prototype, {
}
//The properties you want to appear on the tables, if you don
«t
specify the list, all of them will appear by default.
//The properties you want to appear on the tables, if you don
Ç
t specify the list, all of them will appear by default.
this
.
typePropertiesForTable
=
{};
//The colors for the notes, if you don
«t
specify the color, light yellow will be used by default.
//The colors for the notes, if you don
Ç
t specify the color, light yellow will be used by default.
this
.
colorForInspectors
=
{};
}
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment