• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 8433139069

26 Mar 2024 08:44AM UTC coverage: 73.951% (+0.1%) from 73.831%
8433139069

push

github

haiiliin
pre-commit update

40 of 67 new or added lines in 57 files covered. (59.7%)

5 existing lines in 5 files now uncovered.

24153 of 32661 relevant lines covered (73.95%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/UtilityAndView/Customization.py
1
"""The following command is used to record a user-defined command in the Abaqus journal file."""
2

UNCOV
3
from abqpy.decorators import abaqus_function_doc
×
4

5

6
@abaqus_function_doc
×
7
def journalMethodCall(objectPath: str, methodName: str, args: tuple, kargs: str):
×
8
    """This function may be used by a user-defined command to record itself in the Abaqus journal file. For
9
    example::
10

11
        def setValues(self, **kargs):
12
            for arg,value in kargs.items():
13
                setattr(arg, value)
14
            from abaqus import journalMethodCall
15
            objPath = '%s[%r]' % (self.reposPath, self.name)
16
            journalMethodCall(objPath, 'setValues', (), kargs)
17

18
    .. note::
19
        Your command should not call journalMethodCall if the command changes the mdb using
20
        built-in Abaqus Scripting Interface commands, because built-in commands are journaled by
21
        default. A command that changes the mdb customData is one example of a command that
22
        should call journalMethodCall.
23

24
    .. note::
25
        This function can be accessed by::
26

27
            journalMethodCall
28

29
    Parameters
30
    ----------
31
    objectPath
32
        A String specifying the path to the object.
33
    methodName
34
        A String specifying the name of the method.
35
    args
36
        A sequence specifying the positional arguments to be written to the journal file.
37
    kargs
38
        A Python dict object specifying the keyword arguments to be written to the journal file.
39
    """
40
    ...
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc