@@ -36,22 +36,22 @@ export default class MoleculesApi extends BaseApi {
3636 ///////////////////////////////////////////////////////////////
3737 // #region - Manipulation
3838
39- // Save molecule to my-mols.
40- addMolToMyMols ( mol : Smol | TempSmol ) {
41- return this . apiClient . post ( '/add-mol-to-mymols ' , { mol } ) // Smol, may support mmol later
39+ // Save molecule to your mws
40+ addMolToMWS ( mol : Smol | TempSmol ) {
41+ return this . apiClient . post ( '/add-mol-to-mws ' , { mol } ) // Smol, may support mmol later
4242 }
4343
44- // Remove molecule from my-mols
45- removeMolFromMyMols ( mol : Smol | TempSmol ) {
46- return this . apiClient . post ( '/remove-mol-from-mymols ' , { mol } ) // Smol, may support mmol later
44+ // Remove molecule from your mws
45+ removeMolFromMWS ( mol : Smol | TempSmol ) {
46+ return this . apiClient . post ( '/remove-mol-from-mws ' , { mol } ) // Smol, may support mmol later
4747 }
4848
49- // Check if a molecule is in my-mols
50- checkMolInMyMols ( mol : Smol | TempSmol ) {
51- return this . apiClient . post ( '/check-mol-in-mymols ' , { mol } ) // Smol, may support mmol later
49+ // Check if a molecule is in your mws
50+ checkMolInMWS ( mol : Smol | TempSmol ) {
51+ return this . apiClient . post ( '/check-mol-in-mws ' , { mol } ) // Smol, may support mmol later
5252 }
5353
54- // Check if a molecule is in my-mols
54+ // Check if a molecule is in your mws
5555 enrichSmol ( smol : Smol | TempSmol ) {
5656 return this . apiClient . post ( '/enrich-smol' , { smol } )
5757 }
@@ -86,7 +86,7 @@ export default class MoleculesApi extends BaseApi {
8686 }
8787
8888 // Update molset with the molecule data.
89- replaceMolInMolset ( path : string , mol : Smol , context : 'json' | 'my-mols ' , cacheId : number ) {
89+ replaceMolInMolset ( path : string , mol : Smol , context : 'json' | 'mws ' , cacheId : number ) {
9090 return this . apiClient . post ( '/replace-mol-in-molset' , { path, mol, context, cacheId } ) // Smol, may support mmol later
9191 }
9292
@@ -176,10 +176,10 @@ export default class MoleculesApi extends BaseApi {
176176 return this . apiClient . post ( '/update-molset' , { path, cacheId } )
177177 }
178178
179- // Update my-mols molset
179+ // Update mws
180180 // This overrides the working list molecules stored in the cmd_pointer with the ones from the working copy.
181- updateMolset_mymols ( cacheId : number ) {
182- return this . apiClient . post ( '/update-molset-mymols ' , { cacheId } )
181+ updateMolset_mws ( cacheId : number ) {
182+ return this . apiClient . post ( '/update-molset-mws ' , { cacheId } )
183183 }
184184
185185 // #endregion
0 commit comments