Skip to content

Commit

Permalink
Fix ambigous call
Browse files Browse the repository at this point in the history
  • Loading branch information
tristpinsm committed Apr 3, 2024
1 parent 0dd8eff commit 41c947d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions docker/client/scripts/start_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,7 @@ if [ ! -z ${config_file+x} ]; then
fi
fi

echo "Starting the ipython session"
ipython3 -i /usr/local/src/pysmurf_utilities/pysmurf_startup.py
#echo "Starting the ipython session"
#ipython3 -i /usr/local/src/pysmurf_utilities/pysmurf_startup.py
echo "Starting the jupyter notebook"
jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --notebook-dir /data/notebooks/
4 changes: 2 additions & 2 deletions python/pysmurf/client/command/smurf_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _caput(self, pvname, val, atca=False, cast_type=True, **kwargs):

if v is not None:
print(f"Unexpected kwargs: {k} = {v}")
err=True
#err=True

if err:
raise Exception("Bad args passed to caput")
Expand Down Expand Up @@ -99,7 +99,7 @@ def _caget(self, pvname, atca=False, **kwargs):

if v is not None:
print(f"Unexpected kwargs: {k} = {v}")
err=True
#err=True

if err:
raise Exception("Bad args passed to caput")
Expand Down
4 changes: 2 additions & 2 deletions src/smurf/core/emulators/StreamDataEmulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void sce::StreamDataEmulator<T>::acceptFrame(ris::FramePtr frame)
ris::FrameLockPtr fLock = frame->lock();

// Make sure the frame is a single buffer, copy if necessary
if ( ! this->ensureSingleBuffer(frame,true) )
if ( ! ris::Slave::ensureSingleBuffer(frame,true) )
{
eLog_->error("Failed to copy frame to single buffer. Check downstream slave types, maybe add a FIFO?");
return;
Expand Down Expand Up @@ -419,4 +419,4 @@ void sce::StreamDataEmulator<T>::genFrameDrop()
}

template class sce::StreamDataEmulator<int16_t>;
template class sce::StreamDataEmulator<int32_t>;
template class sce::StreamDataEmulator<int32_t>;

0 comments on commit 41c947d

Please sign in to comment.