Skip to content

Commit

Permalink
Comments (Add more methods to document cbrain custom properties) aces…
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy committed Mar 1, 2024
1 parent e39a61f commit cdbdced
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BrainPortal/lib/boutiques_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def file_revision_info
# Deprecated
# as walltime added to Boutiques resources sections
#
# The methods to retrieve the values related to cbrain custom properties are listed below

# Returns a string with name(s) and emails(s) of the Boutiques descriptor authors, enlisted in
# "cbrain:author" custom property of the descriptors. Emails are optional
Expand Down Expand Up @@ -489,6 +490,8 @@ def inherits_from_class_custom
# Given a module name, returns the structure with the
# data for it stored under the "custom"['cbrain:integrator_modules']
# entry of the descriptor.
# All modules can be found in the lib subdirectory of a cbrain plugin
# or cbrain itself and start with Boutiques prefix.
def custom_module_info(modulename)
self.custom['cbrain:integrator_modules'][modulename]
end
Expand Down

0 comments on commit cdbdced

Please sign in to comment.