@rcsb/rcsb-documentation 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/docsApi.js +1 -2
package/package.json
CHANGED
package/server/docsApi.js
CHANGED
|
@@ -301,7 +301,7 @@ function setAttributeDetails(req, item) {
|
|
|
301
301
|
attributeDetails.schemas.forEach(schema => {
|
|
302
302
|
const { headers, schema_name } = schema;
|
|
303
303
|
|
|
304
|
-
schema.display_name =
|
|
304
|
+
schema.display_name = schema_name.substring(0, 1).toUpperCase() + schema_name.substring(1) + ' Attributes';
|
|
305
305
|
const selectorItems = metadata[schema_name].selectorItems;
|
|
306
306
|
|
|
307
307
|
selectorItems.forEach(si => {
|
|
@@ -317,7 +317,6 @@ function setAttributeDetails(req, item) {
|
|
|
317
317
|
obj.name = si.name;
|
|
318
318
|
|
|
319
319
|
if (si.type === 'item-nested') {
|
|
320
|
-
//if (si.attribute === 'rcsb_binding_affinity.value') u.logJson({ selectorItem: si, attrObj }, 'setAttributeDetails')
|
|
321
320
|
|
|
322
321
|
let { nested_attribute, nested_attribute_value, units, range } = si;
|
|
323
322
|
|