Skip to content

Commit

Permalink
Comments (Add more methods to document cbrain custom properties) #1128
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy committed Feb 20, 2024
1 parent e6815f3 commit b92ab38
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 @@ -288,6 +288,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 @@ -407,6 +408,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 b92ab38

Please sign in to comment.