cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

error in initializing submodules

Open juliedelanote opened this issue 2 years ago • 1 comments

*I am working in matlab R2016a with CPLEX_Studio1271. When trying initCobraToolbox (just installed most recent version), I get following error:

Initializing and updating submodules (this may take a while)...Undefined function 'contains' for input arguments of type 'char'. Error in initCobraToolbox (line 212) if contains(result_gitSubmodule,'modified') || contains(result_gitSubmodule,'Untracked files') *

I appreciate any help. Thank you in advance, Julie I hereby confirm that I have:

  • [ X] Tried to solve the issue on my own
  • [ X] Retried to run my code with the latest version of The COBRA Toolbox
  • [X ] Checked that a similar issue has not already been opened

(Note: You may replace [ ] with [X] to check the box)

juliedelanote avatar Mar 10 '22 14:03 juliedelanote

Update matlab, contains is a new function.

On Thu, 10 Mar 2022 at 14:31, jd_bl @.***> wrote:

I am working in matlab R2016a* with CPLEX_Studio1271. When trying initCobraToolbox (just installed most recent version), I get following error:

Initializing and updating submodules (this may take a while)...Undefined function 'contains' for input arguments of type 'char'. Error in initCobraToolbox (line 212) if contains(result_gitSubmodule,'modified') || contains(result_gitSubmodule,'Untracked files') *

I appreciate any help. Thank you in advance, Julie I hereby confirm that I have:

  • [ X] Tried to solve the issue on my own
  • [ X] Retried to run my code with the latest version of The COBRA Toolbox
  • [X ] Checked that a similar issue has not already been opened

(Note: You may replace [ ] with [X] to check the box)

— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEOVR52VAM77X3FA74LDU7IBTVANCNFSM5QMZ4CSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Mr. Ronan MT Fleming B.V.M.S. Dip. Math. Ph.D.

Associate Professor, School of Medicine, National University of Ireland, Galway. & Assistant Professor, Division of Systems Biomedicine and Pharmacology, Leiden Academic Centre for Drug Research, Faculty of Science, Leiden University. https://www.universiteitleiden.nl/en/staffmembers/ronan-fleming & H2020 Project Coordinator, Systems Medicine of Mitochondrial Parkinson’s Disease, http://sysmedpd.eu

Peer-reviewed publications: https://goo.gl/FZPG23 Mobile: +353 852 109 806 Skype: ronan.fleming

(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)

rmtfleming avatar Mar 10 '22 17:03 rmtfleming